using B.S.NewMedical.Api.Read.DTOS.Consult;
using B.S.NewMedical.ErrorCode;
using MediatR;
using System.Collections.Generic;

namespace B.S.NewMedical.Api.Read.Application.Command.MobileService.Consult
{
    /// <summary>
    /// 获取用户互动状态命令（点赞/收藏/追问）
    /// </summary>
    public class GetUserInteractStatusCommand : IRequest<ApiResult<UserInteractStatusDto>>
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 对象类型(question/answer)
        /// </summary>
        public string ObjType { get; set; }

        /// <summary>
        /// 对象ID
        /// </summary>
        public int ObjId { get; set; }

        public GetUserInteractStatusCommand(int userId, string objType, int objId)
        {
            UserId = userId;
            ObjType = objType;
            ObjId = objId;
        }
    }
} 